home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Technical Documentation / Inside Macintosh / Processes / Processes.rsrc / IDX#_1000 < prev    next >
Encoding:
Text File  |  1994-07-24  |  13.7 KB  |  28 lines

  1. {SymbolsABCDEFGHIJKLMNOPQRSTUVWXYZ'SIZE' resource typespecifying partition size A5 registersetting in interrupt taskssetting in Time Manager tasksA5 worldand context switcheshow the Process Manager createsactive application/allocating or moving memory, in interrupt tasksapplication heap&application partitions. See partitionsapplication stackbackground processesbackground-only applicationcanBackground flagcontext of a processand interrupt tasksdefined    switching$cooperative multitasking environmentcurrent processCurrentA5 global variabledesktopdialog boxes, movable modaldisabled interruptsEventAvail functioneventsresumesuspend
  2. exceptionsforeground processdefinedGetCurrentProcess functionGetNextEvent functioninterrupt handlersinterrupt priority levelsinterrupt tablesinterrupt tasksaccessing global variablesallocating or moving memoryand application contextand the A5 worldand virtual memory"calling routines in other segmentsguidelines for usingpreserving registers
  3. scheduling ofunloading code segmentsusing locked handlesinterrupt vectors
  4. interrupts jump tables(locked handles, using in interrupt tasksmajor switchesminor switches MultiFindermultitasking environment null eventsonlyBackground flagoperating-system queues
  5. partitionscreated by Process ManagerdefinedProcess Managercontext switchescreating processesscheduling processesprocess serial numbers    processes
  6. background
  7. context ofcreatingcurrent
  8. foreground
  9. schedulingprocessor priority(registers, preserving in interrupt tasksresource types'SIZE'
  10. resume events
  11. scheduling#of processes by the Process Managersetting optionsswitching contextsservicing interruptsSlotVInstall function
  12. persistentstacksuspend eventsswitching process contextstasks. See interrupt tasks    VBL tasks
  13. scheduling
  14. vector tablesVInstall function
  15. introduced#virtual memory, and interrupt tasksWaitNextEvent functionWakeUpProcess functionsetting termination flags_Launch trap macroacceptAppDied constant Apple eventsApplication DiedApplication Died Apple eventapplication parameters record applications    launching terminatingAppParameters data type+default directory, set by LaunchApplicationdesk accessories    launching.See also Apple eventsExitToShell procedureusing to terminate applicationsGestalt function(testing for Process Manager availabilityGetFrontProcess functionGetNextProcess functionGetProcessInformation functionisHighLevelEventAware flaglaunch parameter blockLaunchApplication functionLaunchDeskAccessory function    launching applicationsdesk accessoriesoptionsLaunchParamBlockRec data typeOpenDeskAcc functionopening. See launching$finding the available free memory inprocess information record constants indata structures indefined#getting information about processeslaunching applicationslaunching desk accessories routines interminating processestesting for availabilityconstants used to identifygetting information about terminatingProcessInfoRec data typeProcessSerialNumber data typeSameProcess functionSetFrontProcess functionterminating applicationszzacceptAppDied constantzzeventRefCon fieldzzextendedBlock constantzzextendedBlockLen constant!zzgestaltLaunchCanReturn constantzzgestaltLaunchControl constant$zzgestaltLaunchFullFileSpec constantzzgestaltOSAttr constantzzhighLongOfPSN fieldzzkAEApplicationDied constantzzkAEApplicationDied event IDzzkCurrentProcess constant!zzkeyProcessSerialNumber constant zzkeyProcessSerialNumber keywordzzkNoProcess constantzzkSystemProcess constantzzlaunchAppParameters fieldzzlaunchAppSpec fieldzzlaunchAvailableSize fieldzzlaunchBlockID fieldzzlaunchContinue constantzzlaunchControlFlags fieldzzlaunchDontSwitch constantzzlaunchEPBLength fieldzzlaunchFileFlags fieldzzlaunchInhibitDaemon constantzzlaunchMinimumSize fieldzzlaunchNoFileFlags constantzzlaunchPreferredSize fieldzzlaunchProcessSN fieldzzlaunchUseMinimum constantzzlowLongOfPSN fieldzzmessageBuffer fieldzzmessageLength fieldzzmode32BitCompatible constantzzmodeCanBackground constantzzmodeDeskAccessory constant%zzmodeDoesActivateOnFGSwitch constantzzmodeGetAppDiedMsg constantzzmodeGetFrontClicks constant"zzmodeHighLevelEventAware constant%zzmodeLocalAndRemoteHLEvents constantzzmodeMultiLaunch constant zzmodeNeedSuspendResume constantzzmodeOnlyBackground constantzzmodeStationeryAware constant"zzmodeUseTextEditServices constantzzprocessActiveTime fieldzzprocessAppSpec fieldzzprocessFreeMem fieldzzprocessInfoLength fieldzzprocessLaunchDate fieldzzprocessLauncher fieldzzprocessLocation fieldzzprocessMode fieldzzprocessName fieldzzprocessNumber fieldzzprocessSignature fieldzzprocessSize fieldzzprocessType fieldzzreserved1 fieldzzreserved2 fieldzztheMsgEvent field'CODE' resource type#A/UX, modifying code segments under A1 registerand the Time Managerand the Time Managercode, self-modifyingdelayed execution+drift-free, fixed-frequency timing serviceselapsed times, computingfixed-frequency timing services
  16. drift-freedrifting)future execution, scheduling routines for testing for Time Manager versionglobal variablesin Time Manager tasksInsTime procedureInsXTime procedureinterrupt latency+periodic execution, scheduling routines forprimePrimeTime procedure
  17. introducedwith extended Time Managerwith global variableswith periodic taskswith revised Time Managerqueues Time Manager'CODE'RmvTime procedure
  18. introducedusing to compute elapsed timesroutines for future executionsegmentsself-modifyingself-modifying codeSetA5 functionSetCurrentA5 functionsynchronizing actions time delays microseconds milliseconds Time Managerapplication-defined routines indata structures indelaysextendedoriginalqueues. See Time Manager queuesrevised routines in+task records. See Time Manager task recordstasks. See Time Manager taskstesting for versionTime Manager queuesTime Manager task recordsextendedoriginal and revisedTime Manager tasks
  19. activating
  20. installingperiodic reactivatingremovingstructure of recordsusing global variables inTMTask data type!zzgestaltExtendedTimeMgr constant zzgestaltRevisedTimeMgr constant!zzgestaltStandardTimeMgr constant zzgestaltTimeMgrVersion constant
  21. zzqLink field
  22. zzqType fieldzztmAddr fieldzztmCount fieldzztmReserved fieldzztmWakeUp field A0 register and the Vertical Retrace Managersetting in VBL tasks and the Vertical Retrace ManagerAttachVBL functionCrsrBusy global variablecursorsanimation with VBL taskschanging at interrupt timejerky movementupdating of positiondisk access, delaying VBL tasks disk-inserted events, posting ofDoVBLTask functionpatching to remove VBL tasksGetVBLQHdr functionaccessing from VBL tasksembedding in VBL task records0interrupts, VBL. See vertical retrace interruptsinVBL global constantjDoVBLTask global variablekeyboards, resetting ofmouse-down events, posting ofmouse-up events, posting of&Operating System, installing VBL taskspersistent VBL tasksprimary video devicechangingdetermining slot numberScrnVBLPtr global variable.SetCursor procedure, calling at interrupt time#slot number of primary video devicechangingfinding/slot-based VBL tasks. See VBL tasks, slot-basedtesting for availabilitySlotVRemove functionspinning cursors
  23. stack sniffer3system-based VBL tasks. See VBL tasks, system-based"Ticks global variable, updating ofVBL task records A0 registeraccessing at interrupt timedefinedembedding in other recordsaccessing global variablesand application executionand process terminationand virtual memorycausing system crashesdefineddisabled by the Process Manager disabling during a suspend eventenabling during a resume eventexecuting immediatelyexecution order
  24. installinglimitations on#missing vertical retrace interrupts
  25. persistentdefined
  26. installing reenabled by the Process Manager reexecuting
  27. slot-baseddefined
  28. installingremovingstoppingsynchronizing with screen system-baseddefined
  29. installingremoving    timing ofturning off debugging code fortypes ofVBLQueue global variableVBLTask data typevertical blanking interruptsvertical retrace interruptsVertical Retrace Managerapplication-defined routines indata structures in/determining availability of slot-based routinesinstalling VBL tasks routines invertical retrace queuesdefinedgetting headers of    number ofusing instead of SlotVInstallVRemove functionzzqFlags fieldzzvblAddr fieldzzvblCount fieldzzvblPhase fieldzzvType constant2'INIT' resource type, making notification requests'snd ' resource type3setting in Notification Manager response proceduresand the Notification Manager.alert boxes, displayed by Notification Manageralert notificationsApple menu, blinking icon andApplication menublinking icon indiamond-shaped mark inaudible notifications5background applications, making notification requests.background tasks, making notification requestsblinking icon in menu bar,device drivers, making notification requests'diamond-shaped mark in Application menucalling Notification Manager-testing for Notification Manager availabilitymenu bar, blinking icon inNMInstall functionNMRec data typeNMRemove functionNotification Managerapplication-defined routines inmultiple requestsresponse procedures routines insuggested notification strategytesting for availabilitytypes of notificationsuse by foreground applicationsnotification queuedefinedinstalling entries inremoving entries fromnotification recordsdefined
  30. setting upnotification requestscreating
  31. installingremoving notification response procedures
  32. notificationsdefinedtypes ofpolite notifications$notification. See notification queue'INIT''snd ',response procedures, of Notification Managersounds, as notification*system alarm, making notification requestssystem alert soundsmaking notification requestsmaking notification requestszznmFlags fieldzznmIcon fieldzznmMark fieldzznmPrivate fieldzznmRefCon fieldzznmReserved fieldzznmResp fieldzznmSound field
  33. zznmStr fieldzznmType constantand the Deferred Task Managerobtaining value ofDeferred Task Managerand the A1 registerapplication-defined routines indata structures indefining a deferred task(defining a task that defers another task routines intypes of tasks useful fordeferred task queuesdeferred task recorddeferred tasksDeferredTask data typeDTInstall functionDTQueue global variablein deferred tasks%executing when interrupts are enabledside effects of lengthy tasksjDTInstall global variablezzdtAddr fieldzzdtFlags fieldzzdtParm fieldzzdtQType constantzzdtReserved field_Debugger trap
  34. _LoadSeg trapcode segments. See segmentsCurJTOffset global variableexternal reference(grow-zone functions, in a locked segment1initialization routines, in an unloadable segmentin a locked segmentjump table entriesdefinedfor loaded segmentsfor unloaded segmentsloading segmentsLoadTrap global variable$main event loop, in the main segment main segmentSegHiEnable global variablesegment headers#Segment Loader. See Segment ManagerSegment Manager
  35. routine inusing to load segmentsusing to unload segmentsdefinedguidelines for creatingloading    unloadingunloading code segmentsUnloadSeg procedure0'FNDR' signature, use with AECreateDesc function+'mst#' resource type, use with Quit command+'mstr' resource type, use with Quit commandFAECreateAppleEvent function, creating a Shutdown or Restart event with7AECreateDesc function, specifying address of the Finder3AEDisposeDesc function, disposing of Finder address9AESend function, sending a Shutdown or Restart event withdisposing of sent eventMultiFinder cannot sendprocedure for sendingQuit ApplicationRestartShutdownclosing before shutdown(Control function, called by ShutDwnPower3custom shutdown procedures. See shutdown procedures-checking for open accessories before shutdown"desk scrap, saving before shutdownDevice Manager'Control function called by ShutDwnPower"unit table checked by ShutDwnPowerdrivers)checking for open drivers before shutdown%reasons for using shutdown proceduressending good-bye message to#when closed during shutdown process&Eject function, called by ShutDwnPower5File Manager, unmounting volumes with during shutdownFinder event class$sending Shutdown or Restart event togood-bye messagedefinedrequested by driversent to indicate shutdownsent when application quitsopen applicationsavoiding abrupt termination ofprocedure for closing.closing open applications with during shutdownQuit Application eventQuit command (File menu)'mst#''mstr'Restart command (Special menu)
  36. Restart eventRestart event ID!restart steps. See shutdown steps9Scrap Manager, saving the desk scrap with during shutdown Shut Down command (Special menu)Shutdown eventShutdown event IDShutdown Managerapplication-defined routines in
  37. constants forinstalling a shutdown procedure methods for turning off computerremoving a shutdown procedure routines insending Apple events to Findershutdown stepsshutdown procedures$flags for specifying execution times
  38. installinginstalling in system heap
  39. introduced problems with applications usingremoving when removed from shutdown queueshutdown queueshutdown stepschecking for custom procedureschecking for open drivers closing open applications beforesaving the desk scrapunmounting volumesShutDwnInstall procedureShutDwnPower procedurecalled by Finder%calls Device Manager Control functionproblems with direct calls toShutDwnRemove procedureShutDwnStart procedurecalled by Finderproblems with direct calls to,system extensions, using shutdown procedures%turning off the computer, methods forUnloadScrap function+unmounting volumes, during shutdown process+UnmountVol function, called by ShutDwnPower+volumes, unmounting during shutdown processzzsdOnDrivers constantzzsdOnPowerOff constantzzsdOnRestart constantzzsdOnUnmount constantzzsdRestartOrPower constant